﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DormMS.Model
{
    public class MemberAddress
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 会员Id
        /// </summary>
        public int MemberId { get; set; }
        /// <summary>
        /// 省
        /// </summary>
        public int Province { get; set; }
        /// <summary>
        /// 市
        /// </summary>
        public int City { get; set; }
        /// <summary>
        /// 区
        /// </summary>
        public int District { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 收货人
        /// </summary>
        public string Consignee { get; set; }
        /// <summary>
        /// 邮政编码
        /// </summary>
        public string Zipcode { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Mobile { get; set; }
        /// <summary>
        /// 是否默认地址
        /// </summary>
        public bool IsDefault { get; set; }
        private DateTime addTime = DateTime.Now;
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get { return addTime; } set { addTime = value; } }
        private bool isDeleted = false;
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get { return isDeleted; } set { isDeleted = value; } }
    }
}
